#include"LinList.h"



void test() {

	SLNode* plist = NULL;
	SLNPushFront(&plist, 2);
	SLNPushFront(&plist, 1);
	SLNPushBack(&plist, 3);
	SLNPushBack(&plist, 4);


	SLNode* pos = SLNFind(&plist, 2);
	SLNInset(&plist, pos, 11);

	SLNode* pos1 = SLNFind(&plist, 3);
	SLNInset(&plist, pos1, 200);
	SLNErase(&plist, pos1);

	SLNPrint(plist);

	SLNDestroy(&plist);
	SLNPrint(plist);
}


int main()
{
	test();
	return 0;
}